package com.alibaba.citrus.cr.mn.order.center.facade.function.common;

import com.epoch.app.mnordercenter.orderbaserequest.OrderAtomBatchCancelRequest;
import com.epoch.app.mnordercenter.orderbaserequest.OrderAtomCancelRequest;
import com.epoch.app.mnordercenter.orderbaserequest.OrderAtomCancelResponse;

import java.util.List;

/**
 * Chen.mu
 * 2023/5/12
 **/
public interface OrderAtomCancelService {
    /**
     * 批量关闭销售订单
     *
     * @param request
     */
    List<OrderAtomCancelResponse> batchCancel(OrderAtomBatchCancelRequest request);

    List<OrderAtomCancelResponse> batchCancel(OrderAtomBatchCancelRequest request, String orderCategory);


    /**
     * 返回 销售 退货 换货 拼接错误信息用
     * @return
     */
    String getOrderTagNameForErrorMsg();
}
